import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

import user from './modules/user.js'
import goods from './modules/goods.js'
import activity from './modules/activity.js'
import cart from './modules/cart.js'
import order from './modules/order.js'
import shop from './modules/shop.js'
import person from './modules/person.js'

const store = new Vuex.Store({
	modules: {
		user,
		goods,
		activity,
		cart,
		shop,
		order,
		person
	}
})

export default store